]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Define constant before using it
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Jul 2017 17:23:12 +0000 (19:23 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Jul 2017 19:52:06 +0000 (21:52 +0200)
This is now a fatal error with current gjs, however I wonder: Did this
ever work?

https://bugzilla.gnome.org/show_bug.cgi?id=785084

js/ui/appDisplay.js

index b3970aef82e41c4de9e3923311bf9c4542a8596e..c30407545fbdc49b36d765f980233670891acdfb 100644 (file)
@@ -45,6 +45,9 @@ const INDICATORS_BASE_TIME = 0.25;
 const INDICATORS_ANIMATION_DELAY = 0.125;
 const INDICATORS_ANIMATION_MAX_TIME = 0.75;
 
+const VIEWS_SWITCH_TIME = 0.4;
+const VIEWS_SWITCH_ANIMATION_DELAY = 0.1;
+
 // Follow iconGrid animations approach and divide by 2 to animate out to
 // not annoy the user when the user wants to quit appDisplay.
 // Also, make sure we don't exceed iconGrid animation total time or
@@ -57,9 +60,6 @@ const INDICATORS_ANIMATION_MAX_TIME_OUT =
 
 const PAGE_SWITCH_TIME = 0.3;
 
-const VIEWS_SWITCH_TIME = 0.4;
-const VIEWS_SWITCH_ANIMATION_DELAY = 0.1;
-
 const SWITCHEROO_BUS_NAME = 'net.hadess.SwitcherooControl';
 const SWITCHEROO_OBJECT_PATH = '/net/hadess/SwitcherooControl';